using HengTong.Model.Services;
using Microsoft.AspNetCore.Mvc;
using TiaoTaoHelper.Wtm.Workflow;
using WalkingTec.Mvvm.Core;

namespace HengTong.Areas._Admin.Controllers;

public partial class SysCodeRuleController(XenWorkflowService service)
{
    [HttpGet("GetBillList")]
    [AllRights]
    public IActionResult GetBillList()
    {
        return Ok(service.GetBillClassesAsTreeSelectList());
    }
}